package com.xms.webresource.service;

import java.io.UnsupportedEncodingException;

/**
 * <p>
 * IWebResourceContentCoder
 * </p>
 *
 * @author migo
 * @since 2021/9/8
 */
public interface IWebResourceContentCoder {
    String decode(String content) throws UnsupportedEncodingException;

    String encode(String content) throws UnsupportedEncodingException;

    String encode(byte[] bytes);

    byte[] decodeToByte(String content);
}
